using UnityEngine;

[AddComponentMenu("MyGame/EnemyRocket")]
public class EnemyRocket : Rocket
{
    void OnTriggerEnter(Collider other)
    {
        if (string.Compare(other.tag, "Player", System.StringComparison.Ordinal) == 0)
        {
            Destroy(this.gameObject);
        }
    }
}